-- GENERATED SPELL FOR [Glob of Viscidus] --


function spell0_15667(pUnit, Event) --@Rejoin Viscidus,n/a--
pUnit:FullCastSpellOnTarget(25896,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15667', 577, 1)
end

function Sorts_15667(pUnit, Event)
local choix_sorts_15667 = math.random(0, 0)
if choix_sorts_15667 == 0 then
pUnit:RegisterEvent('spell0_15667', 1, 1)
end
end

function mob15667_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15667', math.random(1500, 3000), 1)
end

function mob15667_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15667_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15667_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15667, 1, 'mob15667_Action')
RegisterUnitEvent(15667, 2, 'mob15667_Leave')
RegisterUnitEvent(15667, 3, 'mob15667_Kill')
RegisterUnitEvent(15667, 4, 'mob15667_Die')
